package com.hngy.educationaladministration.service.serviceImpl;

import com.hngy.educationaladministration.entity.CourseTable;
import com.hngy.educationaladministration.mapper.CourseDao;
import com.hngy.educationaladministration.service.CourseTableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 * @Author: Deng JunHao
 * @Date: 2021-05-16
 * @Description:
 */
@Service
public class CourseTableServicelmpl implements CourseTableService {

    @Autowired
    private CourseDao courseDao;

    @Override
    public ArrayList<CourseTable> getCourseInfoBySid(Integer sid) {
        return courseDao.getCourseInfoBySid(sid);
    }
}
